// app.js
//导入地图服务
const QQMapWX = require('./libs/qqmap-wx-jssdk');
App({
  onLaunch() {
    // 初始化云环境
    wx.cloud.init({
      env: 'pengpeng-movie-2gdppuv04c698fa6'
    });
    // 初始化qqmapsdk
    let qqmapsdk = new QQMapWX({
        key: 'SNOBZ-4ZG64-D2JUU-XDMHY-IW3JK-RTFCD'
    });
    this.globalData.qqmapsdk = qqmapsdk;
  },
  //全局共享数据存储区
  globalData: {
    userInfo: null,
    cityname: '未选择',
    qqmapsdk: {}
  }
})
